package org.future.esb.inboundEndpoint;
/**
 *@date   2010-4-12 下午03:36:33
 *@author dycc
 *@file   org.future.esb.InboundEndpoint.java
 */
public class InboundEndpoint_Axis {
	private String tagName = "axis:inbound-endpoint";
	private String name = "";
	private String address = "";
	private String style = "";
	private String use = "";
	private String transformer_refs = "";
	private SoapService soapService = new SoapService();
	/**
	 * toString
	 */
	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("<" + tagName);
		if(!name.equals("")){
			sb.append(" name=\"" + getName() + "\"");
		}
		sb.append(" address=\"" + getAddress() + "\"");
		if(!style.equals("")){
			sb.append(" style=\"" + getStyle() + "\"");
		}
		if(!use.equals("")){
			sb.append(" use=\"" + getUse() + "\"");
		}
		if(!transformer_refs.equals("")){
			sb.append(" transformer-refs=\"" + getTransformer_refs() + "\"");
		}
		sb.append(">");
		sb.append("\r\n");
		// add child
		sb.append(getSoapService());
		sb.append("\r\n");
		// add end element
		sb.append("</" + tagName + ">");
		return sb.toString();
	}
	
	public String getTagName() {
    	return tagName;
    }
	public void setTagName(String tagName) {
    	this.tagName = tagName;
    }
	public String getName() {
    	return name;
    }
	public void setName(String name) {
    	this.name = name;
    }
	public String getAddress() {
    	return address;
    }
	public void setAddress(String address) {
    	this.address = address;
    }
	public String getStyle() {
    	return style;
    }
	public void setStyle(String style) {
    	this.style = style;
    }
	public String getUse() {
    	return use;
    }
	public void setUse(String use) {
    	this.use = use;
    }
	public String getTransformer_refs() {
    	return transformer_refs;
    }
	public void setTransformer_refs(String transformerRefs) {
    	transformer_refs = transformerRefs;
    }
	public SoapService getSoapService() {
    	return soapService;
    }
	public void setSoapService(SoapService soapService) {
    	this.soapService = soapService;
    }
	
}
